using MediatR;
using Medical.Api.Write.Dto.BasicManagement.ShelfDictionaryDto;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.BasicManagement.ShelfDictionaryCommand
{
    /// <summary>
    /// 货架状态修改命令
    /// </summary>
    public class UpdateShelvesStatusCommand : IRequest<ApiResult<bool>>
    {
        /// <summary>
        /// 状态修改数据
        /// </summary>
        public UpdateShelvesStatusDto StatusDto { get; set; }

        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="statusDto">状态修改数据</param>
        public UpdateShelvesStatusCommand(UpdateShelvesStatusDto statusDto)
        {
            StatusDto = statusDto;
        }
    }
}